package com.dhecp.project.business.service;

import java.util.List;
import java.util.Map;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.hr.domain.ChoiceShop;
import com.dhecp.project.storage.domain.StockAllot;

public interface ChoiceShopService {


   /**
   *@Description: 查询商品列表
   *@Param: [params]
   *@return: java.util.List<com.dhecp.project.business.domain.ProductActive>
   *@Author: hlf
   *@date: 2022-12-13 14:53
   */
    List<ChoiceShop> queryProductActive(Map<String, Object> params) throws Exception;
    List<StockAllot> allotList(Map<String, Object> params) throws Exception;




    /**
    *@Description: 保存商品设置
    *@Param: [params]
    *@return: com.dhecp.common.core.domain.AjaxResult
    *@Author: hlf
    *@date: 2022-12-14 9:48
    */
    AjaxResult commodityAllocation(Map<String, Object> params);

    /**
    *@Description: 添加到购物车
    */
    AjaxResult addToCart(String choiceShop);

    /**
    *@Description: 移出购物车
    */
    AjaxResult removeFromCart(Long id);

    /*
     * 批量更新调货信息
     */
    AjaxResult editDetailBatch(String pcode, String detailArr);

    /*
     * 删除调货信息
     */
    AjaxResult deleteDetail(String guid);
}
